<{include file="public/header.html"}>
<script src="/static/public/jquery.pagination.js" type="text/javascript" charset="utf-8"></script>

<div class="fossa">
	<{include file="public/user_top.html"}>
	<div class="mwenda w1180-con pb20">
		<div class="fl">
			<div class="mwenda-tab">
                            <a href="<{eval url('account')}>" class="mwenda-head">
                                    <img src="<{$bbs_user_info['head_img']}>"/>
				</a>
				<ul>
                                    <li <{if $act == 'question'}>class="on"<{/if}>>
                                            <a href="<{eval url('account/question')}>">
							我的提问
							<i></i>
						</a>
					</li>
					<li <{if $act == 'answer'}>class="on"<{/if}>>
						<a href="<{eval url('account/answer')}>">
							我的回答
							<i></i>
						</a>
					</li>
					<li <{if $act == 'follow_question'}>class="on"<{/if}>>
						<a href="<{eval url('account/follow_question')}>">
							我的关注
							<i></i>
						</a>
					</li>
				</ul>
			</div>
		</div>
		<div class="mwenda-con fr">
			<div class="title bjf p20 mt20">
				<ul class="num fl mt15 ml30">
					<li>
						<a href="javascript:;" class="best">
							最佳答案
							<p><{$count['answer_best_count']}></p>
							<b class="icon-index"></b>
						</a>
					</li>
					<li>
						<a href="<{eval url('account/answer')}>">
							回答数
							<p><{$count['answer_count']}></p>
						</a>
					</li>
					<li>
						<a href="<{eval url('account/question')}>">
							提问数
							<p><{$count['question_count']}></p>
						</a>
					</li>
					<li style="border-right: 0;">
						<a href="<{eval url('account/follow_question')}>">
							关注数
							<p><{$count['follow_question_count']}></p>
						</a>
					</li>
					<div class="clear"></div>
				</ul>
                            <a href="<{eval url('wenda/asking')}>" class="btn fr mt20">我要提问</a>
				<div class="clear"></div>
			</div>
                    <{if $act == 'question'}>
			<div class="mwenda-list mt30 bjf">
				<div class="p20">
					<ul class="list-tab" data-cat="ques">
						<li class="on" data-type="0">
							<a href="javascript:void(0);">所有提问</a>
						</li>
						<li data-type="1">
							<a href="javascript:void(0);">待解决</a>
						</li>
						<li data-type="2">
							<a href="javascript:void(0);">已解决</a>
						</li>
						<div class="clear"></div>
					</ul>
                                    <div class="wenda-list-box">
                                        <script>$(function(){load_page_question();});</script>
                                    </div>

					<div class="clear"></div>
				</div>
				<div class="pages fr" id="wenda_list_pagination">
					<{$showPage}>
				</div>
			</div>
                    <{/if}>
                    <{if $act == 'answer'}>
			<div class="mwenda-list mt30 bjf">
				<div class="p20">
					<ul class="list-tab" data-cat="ans">
						<li class="on"  data-type="0">
							<a href="javascript:void(0);">所有回答</a>
						</li>
						<li data-type="1">
							<a href="javascript:void(0);">未采纳</a>
						</li>
						<li data-type="2">
							<a href="javascript:void(0);">已采纳</a>
						</li>
						<div class="clear"></div>
					</ul>
                                        <div class="wenda-list-box">
                                            <script>$(function(){load_page_answer();});</script>
                                        </div>

					<div class="clear"></div>
				</div>
				<div class="pages fr" id="wenda_list_pagination">
				</div>
			</div>
                    <{/if}>
                    <{if $act == 'follow_question'}>
			<div class="mwenda-list mt30 bjf">
				<div class="p20">
					<ul class="list-tab" data-cat="foll" >
						<li class="on" data-type="0">
							<a href="javascript:void(0);">所有关注</a>
						</li>
						<li data-type="1">
							<a href="javascript:void(0);">待解决</a>
						</li>
						<li data-type="2">
							<a href="javascript:void(0);">已解决</a>
						</li>
						<div class="clear"></div>
					</ul>
                                    <div class="wenda-list-box">
					<script>$(function(){load_page_follow_question();});</script>
                                    </div>

					<div class="clear"></div>
				</div>
				<div class="pages fr" id="wenda_list_pagination">
				</div>
			</div>
                    <{/if}>
		</div>
		<div class="clear"></div>
	</div>
</div>

<!--底部-->
<{include file="public/footer.html"}>
